﻿$test = PowerPack `
    -Id 'ea1c53d2-0b81-4063-8f06-121a685e785b' `
    -Definition {

        Info `
            -Name 'HTML Reporting' `
            -Description 'Generate nicely formatted HTML reports with collapsible sections and multi-level groups from any data set. Requirements: PowerGUI 2.3.0 or later' `
            -Definition {
            
                RequiredSnapins `
                    -Name 'quest.vworkspace.powershellmodule' `
                    -Version '1.0'
            }

        Action `
            -Name "New Account Value" `
            -Id "212f84e8-9a73-4fd7-8582-6d2114822366" `
            -RequireSelection $true

    }

$test.Save('C:\Temp\PowerPack-Test.xml')

& 'C:\Program Files (x86)\Notepad++\notepad++.exe' 'C:\Temp\PowerPack-Test.xml'